package com.navinfo.platform.dataanalysis.dto.condition;

import com.navinfo.platform.common.dto.DataInfo;
import lombok.Data;

@Data
public class ClutchCondition extends AbstractCondition {
    @Override
    public boolean subCondition(DataInfo dataInfo, Object ... externalParam) {
        int clutch = dataInfo.getClutchSwitch();
        return clutch == 1;
    }
}
